/*
 * @Author: 东东
 * @Date: 2022-11-13 10:59:42
 * @LastEditors: your Name
 * @LastEditTime: 2023-08-23 18:17:21
 * @Description: 
 */
import * as types from "@/redux/mutation-types";

// * setToken
export const setToken = (token: string) => ({
	type: types.SET_TOKEN,
	token
});

// * setAssemblySize
export const setAssemblySize = (assemblySize: string) => ({
	type: types.SET_ASSEMBLY_SIZE,
	assemblySize
});

// * setLanguage
export const setLanguage = (language: string) => ({
	type: types.SET_LANGUAGE,
	language
});

// * setThemeConfig
export const setThemeConfig = (themeConfig: any) => ({
	type: types.SET_THEME_CONFIG,
	themeConfig
});
